package com.example.examsystem2.service;

import com.example.examsystem2.entity.ShortAnswerQuestions;

import java.util.List;
import java.util.Map;

public interface ShortAnswerQService {
    int add_short_answer_question(ShortAnswerQuestions shortAnswerQuestions);

    List<ShortAnswerQuestions> get_short_answerQ_by_s_id(int s_id);

    int update_short_answerQ_by_sa_id(ShortAnswerQuestions shortAnswerQuestions);

    int del_short_answerQ_by_sa_id(int sa_id);

    List<ShortAnswerQuestions> get_question_by_s_id_and_level(Map<String, Object> map);

    ShortAnswerQuestions get_saq_by_sa_id(int sa_id);

    int num3();

    List<ShortAnswerQuestions> get_saq_test_by_s_id(int s_id);
}
